package com.ruoyi.system.vo.req.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.vo.resp.SysOrderRespVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author xdh
 * @title OrderStrikeRequestVO
 * @date 2024/7/2 17:49
 * @description TODO
 */
@Data
@ApiModel("核查反馈传参请求体")
public class OrderStrikeResponseVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private SysOrderRespVo sysOrderRespVo;

    private OrderStrikeRequestVO.ValidUserInfo validUserInfo;

    @ApiModelProperty("是否有效信息 1：是 0：否")
    private Integer isValid;


    @ApiModelProperty("无人机信息集合")
    private List<OrderStrikeRequestVO.ValidDroneInfo> validDroneInfo;


    @ApiModelProperty("核查反馈")
    private OrderStrikeInfo orderStrikeInfo;



//    @ApiModelProperty("进度")
//    private List<OrderSpeed> orderSpeed;
//
//    @Data
//    public static class  OrderSpeed{
//        @ApiModelProperty("进度名称")
//        private String speedName;
//
//        @ApiModelProperty("进度时间")
//        private String speedTime;
//    }

    @Data
    @ApiModel("核查反馈")
    public static class  OrderStrikeInfo implements Serializable{


        @ApiModelProperty("常住地派出所名称")
        private String changPoliceName;

        @ApiModelProperty("户籍地派出所名称")
        private String censusPoliceName;

        @ApiModelProperty("宣传禁飞政策")
        private Integer xjFlag;

        @ApiModelProperty("情况备注")
        private String remark;

//        @ApiModelProperty("核查时间")
//        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//        private Date strikeTime;
//
//        @ApiModelProperty("核查单位")
//        private String deptName;
//
//        @ApiModelProperty("核查人")
//        private String userName;
        @ApiModelProperty("核查人")
        private String orderStrikeUsername;



        @ApiModelProperty("核查单位")
        private String orderStrikeDeptname;

        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @ApiModelProperty("核查时间")
        private Date orderStrikeTime;


    }


}
